<html>
<body>
Reports multiple variables that are declared in a single declaration and suggest
creating a separate declaration for each variable.
<p>Some coding standards prohibit such declarations.</p>
<p>Example:</p>
<pre><code>
  int x = 1, y = 2;
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  int x = 1;
  int y = 2;
</code></pre>
<!-- tooltip end -->
<p>Configure the inspection:</p>
<ul>
<li>Use the <b>Ignore 'for' loop declarations</b> option to ignore multiple variables declared in the initialization of a 'for' loop statement, for example:
<pre><code>
  <b>for</b> (int i = 0, max = list.size(); i &gt; max; i++) {}
</code></pre>
</li>
<li>Use the <b>Only warn on different array dimensions in a single declaration</b> option to only warn when variables with different array dimensions are declared in a single declaration, for example:
<pre><code>
  String s = "", array[];
</code></pre>
</li>
</ul>
<p><small>New in 2019.2</small></p>
</body>
</html>